const Mock = require('mockjs')
const Random = Mock.Random;
module.exports = {
    // IP管理
    "/member/getIplist": function (body) {
        console.log(body)
        let res = body.limits ? "resObj|" + body.limits : "resObj|5";
        //所有列表
        let data = Mock.mock(
            {
                "count": 18,
                "msg": "SUCCESS",
                "page": body.page ? Number(body.page) : 1,
                "resCode": 1,
                [res]: [
                    {
                        "account": Mock.mock('@email'),
                        "name": Random.last(),
                        "position": Mock.mock('@cname'),
                        "department": Mock.mock('@city'),
                        "role": Mock.mock('@region'),
                        "ip": Mock.mock('@ip'),
                        "position": 1,
                        "time": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        id: "2"
                    },
                    {
                        "account": Mock.mock('@email'),
                        "name": Random.last(),
                        "position": Mock.mock('@cword(3)'),
                        "department": Mock.mock('@city'),
                        "role": Mock.mock('@region'),
                        "ip": Mock.mock('@ip'),
                        "position": 1,
                        "time": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        id: "2"
                    }
                ],
                "totalPage": 5
            })
        //重现单个数据--
        let dataOne = Mock.mock(
            {
                "count": 10,
                "msg": "SUCCESS",
                "page": body.page ? Number(body.page) : 1,
                "resCode": 1,
                [res]: [
                    {
                        "account": Mock.mock('@email'),
                        "name": body.name + Random.last(),
                        "position": Mock.mock('@cname'),
                        "department": Mock.mock('@city'),
                        "role": Mock.mock('@region'),
                        "ip": Mock.mock('@ip'),
                        "position": 1,
                        "time": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        id: "2"
                    },
                    {
                        "account": Mock.mock('@email'),
                        "name": body.name + Random.last(),
                        "position": Mock.mock('@cname'),
                        "department": Mock.mock('@city'),
                        "role": Mock.mock('@region'),
                        "ip": Mock.mock('@ip'),
                        "position": 1,
                        "time": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        id: "2"
                    }
                ]
            })
        return body.name ? dataOne : data;
    },
    "/member/getreadApplyCountlist": function (body) {
        console.log(body)
        let res = body.limits ? "resObj|" + body.limits : "resObj|5";
        //所有列表
        let data = Mock.mock(
            {
                "count": 18,
                "msg": "SUCCESS",
                "page": body.page ? Number(body.page) : 1,
                "resCode": 1,
                [res]: [
                    {
                        "account": Mock.mock('@email'),
                        "name": Random.last(),
                        "position": Mock.mock('@cname'),
                        "department": Mock.mock('@city'),
                        "role": Mock.mock('@region'),
                        "ip": Mock.mock('@ip'),
                        "Number": 1,
                        "countNumber": 122,
                        "custmerNumber": 1222,
                        "time": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        id: "2"
                    },
                    {
                        "account": Mock.mock('@email'),
                        "name": Random.last(),
                        "position": Mock.mock('@cword(3)'),
                        "department": Mock.mock('@city'),
                        "role": Mock.mock('@region'),
                        "ip": Mock.mock('@ip'),
                        "position": 1,
                        "Number": 1,
                        "countNumber": 122,
                        "custmerNumber": 1222,
                        "time": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        id: "2"
                    }
                ],
                "totalPage": 5
            })
        //重现单个数据--
        let dataOne = Mock.mock(
            {
                "count": 10,
                "msg": "SUCCESS",
                "page": body.page ? Number(body.page) : 1,
                "resCode": 1,
                [res]: [
                    {
                        "account": Mock.mock('@email'),
                        "name": body.name + Random.last(),
                        "position": Mock.mock('@cname'),
                        "department": Mock.mock('@city'),
                        "role": Mock.mock('@region'),
                        "ip": Mock.mock('@ip'),
                        "position": 1,
                        "Number": 1,
                        "countNumber": 122,
                        "custmerNumber": 1222,
                        "time": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        id: "2"
                    },
                    {
                        "account": Mock.mock('@email'),
                        "name": body.name + Random.last(),
                        "position": Mock.mock('@cname'),
                        "department": Mock.mock('@city'),
                        "role": Mock.mock('@region'),
                        "ip": Mock.mock('@ip'),
                        "position": 1,
                        "Number": 1,
                        "countNumber": 122,
                        "custmerNumber": 1222,
                        "time": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        id: "2"
                    }
                ]
            })
        return body.name ? dataOne : data;
    },
    "/member/getreadApplylist": function (body) {
        console.log(body)
        let res = body.limits ? "resObj|" + body.limits : "resObj|5";
        //所有列表
        let data = Mock.mock(
            {
                "count": 18,
                "msg": "SUCCESS",
                "page": body.page ? Number(body.page) : 1,
                "resCode": 1,
                [res]: [
                    {
                        "account": Mock.mock('@email'),
                        "name": Random.last(),
                        "position": Mock.mock('@cname'),
                        "department": Mock.mock('@city'),
                        "role": Mock.mock('@region'),
                        "ip": Mock.mock('@ip'),
                        "Number": 1,
                        "countNumber": 122,
                        "custmerNumber": 1222,
                        "time": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        id: "2",
                        "Status|1": ["1", "2", "3", "4"],
                        "applyName": Random.last(),
                        "Text": Random.last() + Random.last(),
                        "type|1": ["全部", "查看", "修改密码", "修改资料"]
                    },
                    {
                        "account": Mock.mock('@email'),
                        "name": Random.last(),
                        "position": Mock.mock('@cword(3)'),
                        "department": Mock.mock('@city'),
                        "role": Mock.mock('@region'),
                        "ip": Mock.mock('@ip'),
                        "position": 1,
                        "Number": 1,
                        "countNumber": 122,
                        "custmerNumber": 1222,
                        "time": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        id: "2",
                        "Status|1": ["1", "2", "3", "4"],
                        "applyName": Random.last(),
                        "Text": Mock.mock('@sentence(15, 25)'),
                        "type|1": ["全部", "查看", "修改密码", "修改资料"]
                    }
                ],
                "totalPage": 5
            })
        //重现单个数据--
        let dataOne = Mock.mock(
            {
                "count": 10,
                "msg": "SUCCESS",
                "page": body.page ? Number(body.page) : 1,
                "resCode": 1,
                [res]: [
                    {
                        "account": Mock.mock('@email'),
                        "name": body.name + Random.last(),
                        "position": Mock.mock('@cname'),
                        "department": Mock.mock('@city'),
                        "role": Mock.mock('@region'),
                        "ip": Mock.mock('@ip'),
                        "position": 1,
                        "Number": 1,
                        "countNumber": 122,
                        "custmerNumber": 1222,
                        "time": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        id: "2",
                        "Status|1": ["1", "2", "3", "4"],
                        "applyName": Random.last(),
                        "Text": Random.last() + Random.last(),
                        "type|1": ["全部", "查看", "修改密码", "修改资料"]
                    },
                    {
                        "account": Mock.mock('@email'),
                        "name": body.name + Random.last(),
                        "position": Mock.mock('@cname'),
                        "department": Mock.mock('@city'),
                        "role": Mock.mock('@region'),
                        "ip": Mock.mock('@ip'),
                        "position": 1,
                        "Number": 1,
                        "countNumber": 122,
                        "custmerNumber": 1222,
                        "time": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        id: "2",
                        "Status|1": ["1", "2", "3", "4"],
                        "applyName": Random.last(),
                        "Text": Random.last() + Random.last(),
                        "type|1": ["全部", "查看", "修改密码", "修改资料"]
                    }
                ]
            })
        return body.name ? dataOne : data;
    },
    "/member/updatereadApplylist": function (body) {
        let data = Mock.mock(
            {
                "msg": "SUCCESS",
                "page": 1,
                "resCode": 1,
                "resObj": []
            });
        return data;
    },

    "/member/getCallRecordslist": function (body) {
        console.log(body)
        let res = body.limits ? "resObj|" + body.limits : "resObj|5";
        //所有列表
        let data = Mock.mock(
            {
                "count": 18,
                "msg": "SUCCESS",
                "page": body.page ? Number(body.page) : 1,
                "resCode": 1,
                [res]: [
                    {
                        "account": Mock.mock('@email'),
                        "name": Random.last(),
                        "position": Mock.mock('@cname'),
                        "department": Mock.mock('@city'),
                        "role": Mock.mock('@region'),
                        "ip": Mock.mock('@ip'),
                        "Number": 1,
                        "countNumber": 122,
                        "custmerNumber": 1222,
                        "time": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "long": Random.datetime('HH:mm:ss'),
                        id: "2",
                        "Status|1": ["1", "2", "3", "4"],
                        "applyName": Random.last(),
                        "Text": Random.last() + Random.last(),
                        "type|1": ["全部", "查看", "修改密码", "修改资料"]
                    },
                    {
                        "account": Mock.mock('@email'),
                        "name": Random.last(),
                        "position": Mock.mock('@cword(3)'),
                        "department": Mock.mock('@city'),
                        "role": Mock.mock('@region'),
                        "ip": Mock.mock('@ip'),
                        "position": 1,
                        "Number": 1,
                        "countNumber": 122,
                        "custmerNumber": 1222,
                        "time": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "long": Random.datetime('HH:mm:ss'),
                        id: "2",
                        "Status|1": ["1", "2", "3", "4"],
                        "applyName": Random.last(),
                        "Text": Mock.mock('@sentence(15, 25)'),
                        "type|1": ["全部", "查看", "修改密码", "修改资料"]
                    }
                ],
                "totalPage": 5
            })
        //重现单个数据--
        let dataOne = Mock.mock(
            {
                "count": 10,
                "msg": "SUCCESS",
                "page": body.page ? Number(body.page) : 1,
                "resCode": 1,
                [res]: [
                    {
                        "account": Mock.mock('@email'),
                        "name": body.name + Random.last(),
                        "position": Mock.mock('@cname'),
                        "department": Mock.mock('@city'),
                        "role": Mock.mock('@region'),
                        "ip": Mock.mock('@ip'),
                        "position": 1,
                        "Number": 1,
                        "countNumber": 122,
                        "custmerNumber": 1222,
                        "time": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "long": Random.datetime('HH:mm:ss'),
                        id: "2",
                        "Status|1": ["1", "2", "3", "4"],
                        "applyName": Random.last(),
                        "Text": Random.last() + Random.last(),
                        "type|1": ["全部", "查看", "修改密码", "修改资料"]
                    },
                    {
                        "account": Mock.mock('@email'),
                        "name": body.name + Random.last(),
                        "position": Mock.mock('@cname'),
                        "department": Mock.mock('@city'),
                        "role": Mock.mock('@region'),
                        "ip": Mock.mock('@ip'),
                        "position": 1,
                        "Number": 1,
                        "countNumber": 122,
                        "custmerNumber": 1222,
                        "time": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "long": Random.datetime('HH:mm:ss'),
                        id: "2",
                        "Status|1": ["1", "2", "3", "4"],
                        "applyName": Random.last(),
                        "Text": Random.last() + Random.last(),
                        "type|1": ["全部", "查看", "修改密码", "修改资料"]
                    }
                ]
            })
        return body.name ? dataOne : data;
    },
    "/member/getBlacklist": function (body) {
        console.log(body)
        let res = body.limits ? "resObj|" + body.limits : "resObj|5";
        //所有列表
        let data = Mock.mock(
            {
                "count": 18,
                "msg": "SUCCESS",
                "page": body.page ? Number(body.page) : 1,
                "resCode": 1,
                [res]: [
                    {
                        "account": Mock.mock('@email'),
                        "name": Random.last(),
                        "position": Mock.mock('@cname'),
                        "department": Mock.mock('@city'),
                        "role": Mock.mock('@region'),
                        "ip": Mock.mock('@ip'),
                        "Number": 1,
                        "countNumber": 122,
                        "custmerNumber": 1222,
                        "time": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "long": Random.datetime('HH:mm:ss'),
                        id: "2",
                        "Status|1": ["1", "2", "3", "4"],
                        "applyName": Random.last(),
                        "Text": Random.last() + Random.last(),
                        "type|1": ["全部", "查看", "修改密码", "修改资料"],
                        "disabled|2": ["登录", "快速入款", "网银支付", "联系客服"],
                        "approver": Random.last()
                    },
                    {
                        "account": Mock.mock('@email'),
                        "name": Random.last(),
                        "position": Mock.mock('@cword(3)'),
                        "department": Mock.mock('@city'),
                        "role": Mock.mock('@region'),
                        "ip": Mock.mock('@ip'),
                        "position": 1,
                        "Number": 1,
                        "countNumber": 122,
                        "custmerNumber": 1222,
                        "time": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "long": Random.datetime('HH:mm:ss'),
                        id: "2",
                        "Status|1": ["1", "2", "3", "4"],
                        "applyName": Random.last(),
                        "Text": Mock.mock('@sentence(15, 25)'),
                        "type|1": ["全部", "查看", "修改密码", "修改资料"],
                        "disabled|2": ["登录", "快速入款", "网银支付", "联系客服"],
                        "approver": Random.last()
                    }
                ],
                "totalPage": 5
            })
        //重现单个数据--
        let dataOne = Mock.mock(
            {
                "count": 10,
                "msg": "SUCCESS",
                "page": body.page ? Number(body.page) : 1,
                "resCode": 1,
                [res]: [
                    {
                        "account": Mock.mock('@email'),
                        "name": body.name + Random.last(),
                        "position": Mock.mock('@cname'),
                        "department": Mock.mock('@city'),
                        "role": Mock.mock('@region'),
                        "ip": Mock.mock('@ip'),
                        "position": 1,
                        "Number": 1,
                        "countNumber": 122,
                        "custmerNumber": 1222,
                        "time": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "long": Random.datetime('HH:mm:ss'),
                        id: "2",
                        "Status|1": ["1", "2", "3", "4"],
                        "applyName": Random.last(),
                        "Text": Random.last() + Random.last(),
                        "type|1": ["全部", "查看", "修改密码", "修改资料"],
                        "disabled|2": ["登录", "快速入款", "网银支付", "联系客服"],
                        "approver": Random.last()
                    },
                    {
                        "account": Mock.mock('@email'),
                        "name": body.name + Random.last(),
                        "position": Mock.mock('@cname'),
                        "department": Mock.mock('@city'),
                        "role": Mock.mock('@region'),
                        "ip": Mock.mock('@ip'),
                        "position": 1,
                        "Number": 1,
                        "countNumber": 122,
                        "custmerNumber": 1222,
                        "time": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "long": Random.datetime('HH:mm:ss'),
                        id: "2",
                        "Status|1": ["1", "2", "3", "4"],
                        "applyName": Random.last(),
                        "Text": Random.last() + Random.last(),
                        "type|1": ["全部", "查看", "修改密码", "修改资料"],
                        "disabled|2": ["登录", "快速入款", "网银支付", "联系客服"],
                        "approver": Random.last()
                    }
                ]
            })
        return body.name ? dataOne : data;
    },
    "/member/updateBlacklist": function (body) {
        let data = Mock.mock(
            {
                "msg": "SUCCESS",
                "page": 1,
                "resCode": 1,
                "resObj": []
            });
        return data;
    },
    "/member/addBlacklist": function (body) {
        let data = Mock.mock(
            {
                "msg": "SUCCESS",
                "page": 1,
                "resCode": 1,
                "resObj": []
            });
        return data;
    },

    "/member/getMemberUpgradelist": function (body) {
        console.log(body)
        let res = body.limits ? "resObj|" + body.limits : "resObj|5";
        //所有列表
        let data = Mock.mock(
            {
                "count": 18,
                "msg": "SUCCESS",
                "page": body.page ? Number(body.page) : 1,
                "resCode": 1,
                [res]: [
                    {
                        "account": Mock.mock('@email'),
                        "name": Random.last(),
                        "position": Mock.mock('@cname'),
                        "department": Mock.mock('@city'),
                        "role": Mock.mock('@region'),
                        "ip": Mock.mock('@ip'),
                        "Number": 1,
                        "countNumber": 122,
                        "custmerNumber": 1222,
                        "time": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time1": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time2": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time3": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "oldlv|1": ["1", 2, 3, 4, 5, 6, 7, 8, 9, 10],
                        "newlv|1": ["1", 2, 3, 4, 5, 6, 7, 8, 9, 10],
                        id: "2",
                        "Status|1": ["1", "2", "3", "4"],
                        "applyName": Random.last(),
                        "Text": Random.last() + Random.last(),
                        "type|1": ["全部", "查看", "修改密码", "修改资料"]
                    },
                    {
                        "account": Mock.mock('@email'),
                        "name": Random.last(),
                        "position": Mock.mock('@cword(3)'),
                        "department": Mock.mock('@city'),
                        "role": Mock.mock('@region'),
                        "ip": Mock.mock('@ip'),
                        "position": 1,
                        "Number": 1,
                        "countNumber": 122,
                        "custmerNumber": 1222,
                        "time": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time1": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time2": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time3": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "oldlv|1": ["1", 2, 3, 4, 5, 6, 7, 8, 9, 10],
                        "newlv|1": ["1", 2, 3, 4, 5, 6, 7, 8, 9, 10],
                        id: "2",
                        "Status|1": ["1", "2", "3", "4"],
                        "applyName": Random.last(),
                        "Text": Mock.mock('@sentence(15, 25)'),
                        "type|1": ["全部", "查看", "修改密码", "修改资料"]
                    }
                ],
                "totalPage": 5
            })
        //重现单个数据--
        let dataOne = Mock.mock(
            {
                "count": 10,
                "msg": "SUCCESS",
                "page": body.page ? Number(body.page) : 1,
                "resCode": 1,
                [res]: [
                    {
                        "account": Mock.mock('@email'),
                        "name": body.name + Random.last(),
                        "position": Mock.mock('@cname'),
                        "department": Mock.mock('@city'),
                        "role": Mock.mock('@region'),
                        "ip": Mock.mock('@ip'),
                        "position": 1,
                        "Number": 1,
                        "countNumber": 122,
                        "custmerNumber": 1222,
                        "time": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time1": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time2": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time3": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "oldlv|1": ["1", 2, 3, 4, 5, 6, 7, 8, 9, 10],
                        "newlv|1": ["1", 2, 3, 4, 5, 6, 7, 8, 9, 10],
                        id: "2",
                        "Status|1": ["1", "2", "3", "4"],
                        "applyName": Random.last(),
                        "Text": Random.last() + Random.last(),
                        "type|1": ["全部", "查看", "修改密码", "修改资料"]
                    },
                    {
                        "account": Mock.mock('@email'),
                        "name": body.name + Random.last(),
                        "position": Mock.mock('@cname'),
                        "department": Mock.mock('@city'),
                        "role": Mock.mock('@region'),
                        "ip": Mock.mock('@ip'),
                        "position": 1,
                        "Number": 1,
                        "countNumber": 122,
                        "custmerNumber": 1222,
                        "time": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        id: "2",
                        "Status|1": ["1", "2", "3", "4"],
                        "applyName": Random.last(),
                        "Text": Random.last() + Random.last(),
                        "type|1": ["全部", "查看", "修改密码", "修改资料"]
                    }
                ]
            })
        return body.name ? dataOne : data;
    },
    "/member/updateUpgradelist": function (body) {
        let data = Mock.mock(
            {
                "msg": "SUCCESS",
                "page": 1,
                "resCode": 1,
                "resObj": []
            });
        return data;
    },

    // ------会员升级记录--------
    "/member/getreadApplylist": function (body) {
        console.log(body)
        let res = body.limits ? "resObj|" + body.limits : "resObj|5";
        //所有列表
        let data = Mock.mock(
            {
                "count": 18,
                "msg": "SUCCESS",
                "page": body.page ? Number(body.page) : 1,
                "resCode": 1,
                [res]: [
                    {
                        "account": Mock.mock('@email'),
                        "name": Random.last(),
                        "position": Mock.mock('@cname'),
                        "department": Mock.mock('@city'),
                        "role": Mock.mock('@region'),
                        "ip": Mock.mock('@ip'),
                        "Number": 1,
                        "countNumber": 122,
                        "custmerNumber": 1222,
                        "time": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        id: "2",
                        "Status|1": ["1", "2", "3", "4"],
                        "applyName": Random.last(),
                        "Text": Random.last() + Random.last(),
                        "type|1": ["全部", "查看", "修改密码", "修改资料"]
                    },
                    {
                        "account": Mock.mock('@email'),
                        "name": Random.last(),
                        "position": Mock.mock('@cword(3)'),
                        "department": Mock.mock('@city'),
                        "role": Mock.mock('@region'),
                        "ip": Mock.mock('@ip'),
                        "position": 1,
                        "Number": 1,
                        "countNumber": 122,
                        "custmerNumber": 1222,
                        "time": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        id: "2",
                        "Status|1": ["1", "2", "3", "4"],
                        "applyName": Random.last(),
                        "Text": Mock.mock('@sentence(15, 25)'),
                        "type|1": ["全部", "查看", "修改密码", "修改资料"]
                    }
                ],
                "totalPage": 5
            })
        //重现单个数据--
        let dataOne = Mock.mock(
            {
                "count": 10,
                "msg": "SUCCESS",
                "page": body.page ? Number(body.page) : 1,
                "resCode": 1,
                [res]: [
                    {
                        "account": Mock.mock('@email'),
                        "name": body.name + Random.last(),
                        "position": Mock.mock('@cname'),
                        "department": Mock.mock('@city'),
                        "role": Mock.mock('@region'),
                        "ip": Mock.mock('@ip'),
                        "position": 1,
                        "Number": 1,
                        "countNumber": 122,
                        "custmerNumber": 1222,
                        "time": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        id: "2",
                        "Status|1": ["1", "2", "3", "4"],
                        "applyName": Random.last(),
                        "Text": Random.last() + Random.last(),
                        "type|1": ["全部", "查看", "修改密码", "修改资料"]
                    },
                    {
                        "account": Mock.mock('@email'),
                        "name": body.name + Random.last(),
                        "position": Mock.mock('@cname'),
                        "department": Mock.mock('@city'),
                        "role": Mock.mock('@region'),
                        "ip": Mock.mock('@ip'),
                        "position": 1,
                        "Number": 1,
                        "countNumber": 122,
                        "custmerNumber": 1222,
                        "time": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        id: "2",
                        "Status|1": ["1", "2", "3", "4"],
                        "applyName": Random.last(),
                        "Text": Random.last() + Random.last(),
                        "type|1": ["全部", "查看", "修改密码", "修改资料"]
                    }
                ]
            })
        return body.name ? dataOne : data;
    },
    "/member/updatereadApplylist": function (body) {
        let data = Mock.mock(
            {
                "msg": "SUCCESS",
                "page": 1,
                "resCode": 1,
                "resObj": []
            });
        return data;
    },
    // -----------代理人审核记录---------------
    "/member/getagentCheckist": function (body) {
        console.log(body)
        let res = body.limits ? "resObj|" + body.limits : "resObj|5";
        //所有列表
        let data = Mock.mock(
            {
                "count": 18,
                "msg": "SUCCESS",
                "page": body.page ? Number(body.page) : 1,
                "resCode": 1,
                [res]: [
                    {
                        "account": Mock.mock('@email'),
                        "name": Random.last(),
                        "position": Mock.mock('@cname'),
                        "department": Mock.mock('@city'),
                        "role": Mock.mock('@region'),
                        "ip": Mock.mock('@ip'),
                        "Number": 1,
                        "countNumber": 122,
                        "custmerNumber": 1222,
                        "time": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time1": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time2": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time3": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "checkperson": Mock.mock('@cname'),
                        "code": Mock.mock('@email'),
                        "lv|1": ["1", "2", "3", "4"],
                        id: "2",
                        "Status|1": ["1", "2", "3", "4"],
                        "applyName": Random.last(),
                        "Text": Random.last() + Random.last(),
                        "type|1": ["全部", "查看", "修改密码", "修改资料"]
                    },
                    {
                        "account": Mock.mock('@email'),
                        "name": Random.last(),
                        "position": Mock.mock('@cword(3)'),
                        "department": Mock.mock('@city'),
                        "role": Mock.mock('@region'),
                        "ip": Mock.mock('@ip'),
                        "position": 1,
                        "Number": 1,
                        "countNumber": 122,
                        "custmerNumber": 1222,
                        "time": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time1": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time2": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time3": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "checkperson": Mock.mock('@cname'),
                        "code": Mock.mock('@email'),
                        "lv|1": ["1", "2", "3", "4"],
                        id: "2",
                        "Status|1": ["1", "2", "3", "4"],
                        "applyName": Random.last(),
                        "Text": Mock.mock('@sentence(15, 25)'),
                        "type|1": ["全部", "查看", "修改密码", "修改资料"]
                    }
                ],
                "totalPage": 5
            })
        //重现单个数据--
        let dataOne = Mock.mock(
            {
                "count": 10,
                "msg": "SUCCESS",
                "page": body.page ? Number(body.page) : 1,
                "resCode": 1,
                [res]: [
                    {
                        "account": Mock.mock('@email'),
                        "name": body.name + Random.last(),
                        "position": Mock.mock('@cname'),
                        "department": Mock.mock('@city'),
                        "role": Mock.mock('@region'),
                        "ip": Mock.mock('@ip'),
                        "position": 1,
                        "Number": 1,
                        "countNumber": 122,
                        "custmerNumber": 1222,
                        "time": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time1": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time2": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time3": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "checkperson": Mock.mock('@cname'),
                        "code": Mock.mock('@email'),
                        "lv|1": ["1", "2", "3", "4"],
                        id: "2",
                        "Status|1": ["1", "2", "3", "4"],
                        "applyName": Random.last(),
                        "Text": Random.last() + Random.last(),
                        "type|1": ["全部", "查看", "修改密码", "修改资料"]
                    },
                    {
                        "account": Mock.mock('@email'),
                        "name": body.name + Random.last(),
                        "position": Mock.mock('@cname'),
                        "department": Mock.mock('@city'),
                        "role": Mock.mock('@region'),
                        "ip": Mock.mock('@ip'),
                        "position": 1,
                        "Number": 1,
                        "countNumber": 122,
                        "custmerNumber": 1222,
                        "time": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time1": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time2": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time3": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "checkperson": Mock.mock('@cname'),
                        "code": Mock.mock('@email'),
                        "lv|1": ["1", "2", "3", "4"],
                        id: "2",
                        "Status|1": ["1", "2", "3", "4"],
                        "applyName": Random.last(),
                        "Text": Random.last() + Random.last(),
                        "type|1": ["全部", "查看", "修改密码", "修改资料"]
                    }
                ]
            })
        return body.name ? dataOne : data;
    },
    "/member/updateagentCheck": function (body) {
        let data = Mock.mock(
            {
                "msg": "SUCCESS",
                "page": 1,
                "resCode": 1,
                "resObj": []
            });
        return data;
    },
    //===============售后客服分配管理==================
    "/member/getaftrSendMannagerlist": function (body) {
        console.log(body)
        let res = body.limits ? "resObj|" + body.limits : "resObj|5";
        //所有列表
        let data = Mock.mock(
            {
                "count": 18,
                "msg": "SUCCESS",
                "page": body.page ? Number(body.page) : 1,
                "resCode": 1,
                [res]: [
                    {
                        "account": Mock.mock('@email'),
                        "name": Random.last(),
                        "position": Mock.mock('@cname'),
                        "department": Mock.mock('@city'),
                        "role": Mock.mock('@region'),
                        "ip": Mock.mock('@ip'),
                        "Number": 1,
                        "countNumber": 122,
                        "custmerNumber": 1222,
                        "time": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time2": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time3": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time4": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time5": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "group|1": ["1", "2", "3"],
                        "sort|1": [1, 2, 3, 4, 5, 6, 7, 8, 9],
                        id: "2",
                        "Status|1": ["1", "2", "3", "4"],
                        "applyName": Random.last(),
                        "Text": Random.last() + Random.last(),
                        "type|1": ["全部", "查看", "修改密码", "修改资料"]
                    },
                    {
                        "account": Mock.mock('@email'),
                        "name": Random.last(),
                        "position": Mock.mock('@cword(3)'),
                        "department": Mock.mock('@city'),
                        "role": Mock.mock('@region'),
                        "ip": Mock.mock('@ip'),
                        "position": 1,
                        "Number": 1,
                        "countNumber": 122,
                        "custmerNumber": 1222,
                        "time": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time2": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time3": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time4": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time5": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "sort|1": [1, 2, 3, 4, 5, 6, 7, 8, 9],
                        "group|1": ["1", "2", "3"],
                        id: "2",
                        "Status|1": ["1", "2", "3", "4"],
                        "applyName": Random.last(),
                        "Text": Mock.mock('@sentence(15, 25)'),
                        "type|1": ["全部", "查看", "修改密码", "修改资料"]
                    }
                ],
                "totalPage": 5
            })
        //重现单个数据--
        let dataOne = Mock.mock(
            {
                "count": 10,
                "msg": "SUCCESS",
                "page": body.page ? Number(body.page) : 1,
                "resCode": 1,
                [res]: [
                    {
                        "account": Mock.mock('@email'),
                        "name": body.name + Random.last(),
                        "position": Mock.mock('@cname'),
                        "department": Mock.mock('@city'),
                        "role": Mock.mock('@region'),
                        "ip": Mock.mock('@ip'),

                        "position": 1,
                        "Number": 1,
                        "countNumber": 122,
                        "custmerNumber": 1222,
                        "time": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time2": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time3": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time4": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time5": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "group|1": ["1", "2", "3"],
                        "sort|1": [1, 2, 3, 4, 5, 6, 7, 8, 9],
                        id: "2",
                        "Status|1": ["1", "2", "3", "4"],
                        "applyName": Random.last(),
                        "Text": Random.last() + Random.last(),
                        "type|1": ["全部", "查看", "修改密码", "修改资料"]
                    },
                    {
                        "account": Mock.mock('@email'),
                        "name": body.name + Random.last(),
                        "position": Mock.mock('@cname'),
                        "department": Mock.mock('@city'),
                        "role": Mock.mock('@region'),
                        "ip": Mock.mock('@ip'),
                        "position": 1,
                        "Number": 1,
                        "countNumber": 122,
                        "custmerNumber": 1222,
                        "time": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time2": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time3": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time4": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time5": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "group|1": ["1", "2", "3"],
                        "sort|1": [1, 2, 3, 4, 5, 6, 7, 8, 9],
                        id: "2",
                        "Status|1": ["1", "2", "3", "4"],
                        "applyName": Random.last(),
                        "Text": Random.last() + Random.last(),
                        "type|1": ["全部", "查看", "修改密码", "修改资料"]
                    }
                ]
            })
        return body.name ? dataOne : data;
    },
    "/member/aftrSendMannager": function (body) {
        let data = Mock.mock(
            {
                "msg": "SUCCESS",
                "page": 1,
                "resCode": 1,
                "resObj": []
            });
        return data;
    },
    "/member/addAftrSendMannager": function (body) {
        let data = Mock.mock(
            {
                "msg": "SUCCESS",
                "page": 1,
                "resCode": 1,
                "resObj": []
            });
        return data;
    },
    "/member/AftrSendMannagerLog": function (body) {
        console.log(body)
        let res = body.limits ? "resObj|" + body.limits : "resObj|5";
        //所有列表
        let data = Mock.mock(
            {
                "msg": "SUCCESS",
                "resCode": 1,
                [res]: [
                    {
                        "Name": Random.word(),
                        "Time": Random.datetime('yy-MM-dd a HH:mm:ss'),
                        "Text": Mock.mock('@sentence(3, 5)'),
                    }
                ]
            })

        return data;
    },
    "/member/AftrSendMannagerRestList": function (body) {
        console.log(body)
        let res = body.limits ? "resObj|" + body.limits : "resObj|5";
        //所有列表
        let data = Mock.mock(
            {
                "msg": "SUCCESS",
                "resCode": 1,
                [res]: [
                    {
                        "account": Random.word(),
                        "Time": Random.datetime('yy-MM-dd a HH:mm:ss'),
                        "Time2": Random.datetime('yy-MM-dd a HH:mm:ss'),
                        "canback|1": [1, 0]
                    }
                ]
            })

        return data;
    },
    //撤销休假时间
    "/member/AftrSendMannagerRestCancel": function (body) {
        console.log(body)
        let res = body.limits ? "resObj|" + body.limits : "resObj|5";
        //所有列表
        let data = Mock.mock(
            {
                "msg": "SUCCESS",
                "resCode": 1,
                [res]: [
                    {
                        "account": Random.word(),
                        "Time": Random.datetime('yy-MM-dd a HH:mm:ss'),
                        "Time2": Random.datetime('yy-MM-dd a HH:mm:ss'),
                        "canback|1": [1, 0]
                    }
                ]
            })

        return data;
    },
    //新增休假
    "/member/addAfterSendMannagerRest": function (body) {
        console.log(body)
        let res = body.limits ? "resObj|" + body.limits : "resObj|5";
        //所有列表
        let data = Mock.mock(
            {
                "msg": "SUCCESS",
                "resCode": 1,
                [res]: [
                    {
                        "account": Random.word(),
                        "Time": Random.datetime('yy-MM-dd a HH:mm:ss'),
                        "Time2": Random.datetime('yy-MM-dd a HH:mm:ss'),
                        "canback|1": [1, 0]
                    }
                ]
            })

        return data;
    },
    "/member/AfterSendMannagerAddList": function (body) {
        let data = Mock.mock(
            {
                "msg": "SUCCESS",
                "page": 1,
                "resCode": 1,
                "resObj": []
            });
        return data;
    },
    // ==========会员资产信息===============
    "/member/getaftrSendMannagerlist": function (body) {
        console.log(body)
        let res = body.limits ? "resObj|" + body.limits : "resObj|5";
        //所有列表
        let data = Mock.mock(
            {
                "count": 18,
                "msg": "SUCCESS",
                "page": body.page ? Number(body.page) : 1,
                "resCode": 1,
                [res]: [
                    {
                        "account": Mock.mock('@email'),
                        "name": Random.last(),
                        "position": Mock.mock('@cname'),
                        "department": Mock.mock('@city'),
                        "role": Mock.mock('@region'),
                        "ip": Mock.mock('@ip'),
                        "Number": 1,
                        "countNumber": 122,
                        "custmerNumber": 1222,
                        "time": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time2": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time3": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time4": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time5": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "money1|1": ["1", "2", "3", 123, 456, 3456, 567, 67, 67, 6, 345, 45],
                        "money2|1": ["1", "2", "3", 123, 456, 3456, 567, 67, 67, 6, 345, 45],
                        "money3|1": ["1", "2", "3", 123, 456, 3456, 567, 67, 67, 6, 345, 45],
                        "money4|1": ["1", "2", "3", 123, 456, 3456, 567, 67, 67, 6, 345, 45],
                        "money5|1": ["1", "2", "3", 123, 456, 3456, 567, 67, 67, 6, 345, 45],
                        "money6|1": ["1", "2", "3", 123, 456, 3456, 567, 67, 67, 6, 345, 45],
                        "money7|1": ["1", "2", "3", 123, 456, 3456, 567, 67, 67, 6, 345, 45],
                        "money8|1": ["1", "2", "3", 123, 456, 3456, 567, 67, 67, 6, 345, 45],
                        "money9|1": ["1", "2", "3", 123, 456, 3456, 567, 67, 67, 6, 345, 45],
                        "money10|1": ["1", "2", "3", 123, 456, 3456, 567, 67, 67, 6, 345, 45],
                        "group|11": ["1", "2", "3"],
                        "sort|1": [1, 2, 3, 4, 5, 6, 7, 8, 9],
                        id: "2",
                        "Status|1": ["1", "2", "3", "4"],
                        "applyName": Random.last(),
                        "Text": Random.last() + Random.last()
                    },
                    {
                        "account": Mock.mock('@email'),
                        "name": Random.last(),
                        "position": Mock.mock('@cword(3)'),
                        "department": Mock.mock('@city'),
                        "role": Mock.mock('@region'),
                        "ip": Mock.mock('@ip'),
                        "position": 1,
                        "Number": 1,
                        "countNumber": 122,
                        "custmerNumber": 1222,
                        "time": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time2": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time3": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time4": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time5": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "money1|1": ["1", "2", "3", 123, 456, 3456, 567, 67, 67, 6, 345, 45],
                        "money2|1": ["1", "2", "3", 123, 456, 3456, 567, 67, 67, 6, 345, 45],
                        "money3|1": ["1", "2", "3", 123, 456, 3456, 567, 67, 67, 6, 345, 45],
                        "money4|1": ["1", "2", "3", 123, 456, 3456, 567, 67, 67, 6, 345, 45],
                        "money5|1": ["1", "2", "3", 123, 456, 3456, 567, 67, 67, 6, 345, 45],
                        "money6|1": ["1", "2", "3", 123, 456, 3456, 567, 67, 67, 6, 345, 45],
                        "money7|1": ["1", "2", "3", 123, 456, 3456, 567, 67, 67, 6, 345, 45],
                        "money8|1": ["1", "2", "3", 123, 456, 3456, 567, 67, 67, 6, 345, 45],
                        "money9|1": ["1", "2", "3", 123, 456, 3456, 567, 67, 67, 6, 345, 45],
                        "money10|1": ["1", "2", "3", 123, 456, 3456, 567, 67, 67, 6, 345, 45],
                        "sort|1": [1, 2, 3, 4, 5, 6, 7, 8, 9],
                        "group|1": ["1", "2", "3"],
                        id: "2",
                        "Status|1": ["1", "2", "3", "4"],
                        "applyName": Random.last(),
                        "Text": Mock.mock('@sentence(15, 25)')
                    }
                ],
                "totalPage": 5
            })
        //重现单个数据--
        let dataOne = Mock.mock(
            {
                "count": 10,
                "msg": "SUCCESS",
                "page": body.page ? Number(body.page) : 1,
                "resCode": 1,
                [res]: [
                    {
                        "account": Mock.mock('@email'),
                        "name": body.name + Random.last(),
                        "position": Mock.mock('@cname'),
                        "department": Mock.mock('@city'),
                        "role": Mock.mock('@region'),
                        "ip": Mock.mock('@ip'),

                        "position": 1,
                        "Number": 1,
                        "countNumber": 122,
                        "custmerNumber": 1222,
                        "time": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time2": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time3": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time4": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time5": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "money1|1": ["1", "2", "3", 123, 456, 3456, 567, 67, 67, 6, 345, 45],
                        "money2|1": ["1", "2", "3", 123, 456, 3456, 567, 67, 67, 6, 345, 45],
                        "money3|1": ["1", "2", "3", 123, 456, 3456, 567, 67, 67, 6, 345, 45],
                        "money4|1": ["1", "2", "3", 123, 456, 3456, 567, 67, 67, 6, 345, 45],
                        "money5|1": ["1", "2", "3", 123, 456, 3456, 567, 67, 67, 6, 345, 45],
                        "money6|1": ["1", "2", "3", 123, 456, 3456, 567, 67, 67, 6, 345, 45],
                        "money7|1": ["1", "2", "3", 123, 456, 3456, 567, 67, 67, 6, 345, 45],
                        "money8|1": ["1", "2", "3", 123, 456, 3456, 567, 67, 67, 6, 345, 45],
                        "money9|1": ["1", "2", "3", 123, 456, 3456, 567, 67, 67, 6, 345, 45],
                        "money10|1": ["1", "2", "3", 123, 456, 3456, 567, 67, 67, 6, 345, 45],
                        "group|1": ["1", "2", "3"],
                        "sort|1": [1, 2, 3, 4, 5, 6, 7, 8, 9],
                        id: "2",
                        "Status|1": ["1", "2", "3", "4"],
                        "applyName": Random.last(),
                        "Text": Random.last() + Random.last()
                    },
                    {
                        "account": Mock.mock('@email'),
                        "name": body.name + Random.last(),
                        "position": Mock.mock('@cname'),
                        "department": Mock.mock('@city'),
                        "role": Mock.mock('@region'),
                        "ip": Mock.mock('@ip'),
                        "position": 1,
                        "Number": 1,
                        "countNumber": 122,
                        "custmerNumber": 1222,
                        "time": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time2": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time3": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time4": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "time5": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "group|1": ["1", "2", "3"],
                        "sort|1": [1, 2, 3, 4, 5, 6, 7, 8, 9],
                        id: "2",
                        "Status|1": ["1", "2", "3", "4"],
                        "applyName": Random.last(),
                        "Text": Random.last() + Random.last()
                    }
                ]
            })
        return body.name ? dataOne : data;
    },
    // ===========加款/扣款===============
    "/member/updaterMoneyMannagerAddOrOther": function (body) {
        let data = Mock.mock(
            {
                "msg": "SUCCESS",
                "page": 1,
                "resCode": 1,
                "resObj": []
            });
        return data;
    },
    // ===========转账===============
    "/member/MoneyMannagerTransform": function (body) {
        let data = Mock.mock(
            {
                "msg": "SUCCESS",
                "page": 1,
                "resCode": 1,
                "resObj": []
            });
        return data;
    },
    //扣款
    "/member/MoneyMannagerDescrease": function (body) {
        let data = Mock.mock(
            {
                "msg": "SUCCESS",
                "page": 1,
                "resCode": 1,
                "resObj": []
            });
        return data;
    },
    // ==========客服跟踪记录===============
    "/member/MoneyMannagerKFFollowRecord": function (body) {
        console.log(body)
        let res = body.limits ? "resObj|" + body.limits : "resObj|5";
        //所有列表
        let data = Mock.mock(
            {
                "count": 18,
                "msg": "SUCCESS",
                "page": body.page ? Number(body.page) : 1,
                "resCode": 1,
                [res]: [
                    {
                        "Name": Random.last(),
                        "time": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "id|+1": 1,
                        "Text": Mock.mock('@sentence(3, 30)')
                    },
                    {
                        "Name": Random.last(),
                        "time": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "id|+1": 1,
                        "Text": Mock.mock('@sentence(3, 30)')
                    }
                ],
                "totalPage": 5
            })
        //重现单个数据--
        let dataOne = Mock.mock(
            {
                "count": 10,
                "msg": "SUCCESS",
                "page": body.page ? Number(body.page) : 1,
                "resCode": 1,
                [res]: [
                    {
                        "Name": Random.last(),
                        "time": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "id|+1": 1,
                        "Text": Mock.mock('@sentence(3, 30)')
                    },
                    {
                        "Name": Random.last(),
                        "time": Random.datetime('yyyy-MM-dd A HH:mm:ss'),
                        "id|+1": 1,
                        "Text": Mock.mock('@sentence(3, 30)')
                    }
                ]
            })
        return body.name ? dataOne : data;
    },
};